import { get,post,upload,postNext, put,delFun} from './getpost'  
import until from './until';
const homeapi={
    getUserinfo(parm){
        let url='/hire/api/getUserInfo'
        const result=get(url,parm)
        return result; 
    },
    sendCode(parm){
        let url='/hire/common/sendCode'
        const result=get(url,parm)
        return result;
    },
    checkCode(parm){
        let url='/hire/common/bindingPhone'
        const result=post(url,parm)
        return result;
    },
    getDictList(parm){
        let url='/hire/common/getDict'
        const result=get(url,parm)
        return result;
    },
    getIndustryList(parm){
        let url='/hire/common/getIndustry'
        const result=get(url,parm)
        return result;
    },
    editCompany(parm){
        let url='/hire/api/enterprise/improveEnterprise'
        const result=post(url,parm)
        return result;
    },
    editUser(parm){
        let url='/hire/api/person/improvePerson'
        const result=post(url,parm)
        return result;
    },
    getCompanyTotal(parm){
        let url='/hire/api/enterprise/getInfoEnterpriseCount'
        const result=get(url,parm)
        return result;
    },
    getPostList(parm){
        let url='/hire/api/enterprise/getInfoList'
        const result=get(url,parm)
        return result;
    },
    getCompanyInfo(parm){
        let url='/hire/api/enterprise/getEnterpriseDetail'
        const result=get(url,parm)
        return result;
    },

    getCompanyList(parm){
        let url='/hire/common/getEnterprise'
        const result=get(url,parm)
        return result;
    },

    getFunctionList(parm){
        let url='/hire/common/getFunction'
        const result=get(url,parm)
        return result;
    },
    getLoginCode(parm){
        let url='/hire/mp/qrCodeLogin'
        const result=get(url,parm)
        return result;
    },
    getCodeResult(parm){
        let url='/hire/mp/checkLogin'
        const result=get(url,parm)
        return result;
    },
    loginWithPc(parm){
        let url='/hire/authorize/pcLogin'
        const result=post(url,parm)
        return result;
    },

    uploadFile(parm){
        let url='/hire/common/upload'
        const result=upload(url,parm)
       
        return result;
        
    },
    registerUser(parm){
        let url='/hire/authorize/pcRegisterPerson'
        const result=post(url,parm)
        return result;
    },
    registerCompany(parm){
        let url='/hire/authorize/pcRegisterEnterprise'
        const result=post(url,parm)
        return result;
    },
    getUserPersionInfo(parm){
        let url='/hire/api/person/getPersonInfo'
        const result=get(url,parm)
        return result;
    },
    editeUserInfo(parm){
        let url='/hire/api/updateInfo'
        const result=post(url,parm)
        return result;
    },
    changePhone(parm){
        let url='/hire/api/replacePhone'
        const result=post(url,parm)
        return result;
    },
    unBindWeChat(parm){
        let url='/hire/api/unBindWeChat'
        const result=get(url,parm)
        return result;
    },
    editCompanyInfo(parm){
        let url='/hire/api/enterprise/updateEnterpriseById'
        const result=post(url,parm)
        return result;
    },
    addPost(parm){
        let url='/hire/api/enterprise/addInfo'
        const result=post(url,parm)
        return result;
    },
    getLoginUserList(parm){
        let url='/hire/authorize/getRoleList'
        const result=get(url,parm)
        return result;
    },
    confirmRole(parm){
        let url='/hire/authorize/confirmRole'
        const result=post(url,parm)
        return result;
    },
  
    getWorkSpaceList(parm){
        let url='/hire/common/getPlaceTitle'
        const result=get(url,parm)
        return result;
    },
    getCountryList(parm){
        let url='/hire/common/getPlaceByCountryId'
        const result=get(url,parm)
        return result;
    },
    getCityList(parm){
        let url='/hire/common/getPlaceByCityId'
        const result=get(url,parm)
        return result;
    },
    getEnterpriseList(parm){
        let url='/hire/api/enterprise/getInfoList'
        const result=get(url,parm)
        return result;
    },
    getContentType(parm){
        let url='/hire/common/getContentByType'
        const result=get(url,parm)
        return result;
    },
     getPostInfo(parm){
        let url='/hire/api/enterprise/getInfoDetail'
        const result=get(url,parm)
        return result;
    },
    getMoneyInfo(parm){
         let url='/hire/api/enterprise/getInfoReward'
        const result=get(url,parm)
        return result;
    },
    getPostMain(parm){
        let url='/hire/api/enterprise/getInfo'
        const result=get(url,parm)
        return result;
    },
    editPostInfo(parm){
        let url='/hire/api/enterprise/updateInfo'
        const result=put(url,parm)
        return result;
    },
    changePost(parm){
        let url='/hire/api/enterprise/batchUpdateStatus'
        const result=post(url,parm)
        return result;
    },
    loadPost(parm){
        let url='/hire/api/enterprise/infoRefresh'
        const result=post(url,parm)
        return result;
        
    },
    deletePost(parm){
        let url='/hire/api/enterprise/infoDelete'
        const result=delFun(url,parm)
        return result;
    },
    getIntemalList(parm){
        let url='/hire/api/enterprise/getInternalAnnotations'
        const result=get(url,parm)
        return result;
    },
    saveIntemal(parm){
        let url='/hire/api/enterprise/addInternalAnnotations'
        const result=post(url,parm)
        return result;
    },
    addchildcompany(parm){
         let url='/hire/api/enterprise/addConstituentCompany'
        const result=post(url,parm)
        return result;
    },
    editChildCompany(parm){
        let url='/hire/api/enterprise/updateConstituentCompanyById'
        const result=put(url,parm)
        return result;
    },
    deleteChildCompany(parm){
        let url='/hire/api/enterprise/deleteConstituentCompany'
        const result=delFun(url,parm)
        return result;
    },
    getChildCompanyList(parm){
        let url='/hire/api/enterprise/getConstituentCompanyList'
        const result=get(url,parm)
        return result;
    },
    getChildAccountList(parm){
        let url='/hire/api/subAccount/getSubAccountList'
        const result=get(url,parm)
        return result;
    },
    addChildAccound(parm){
        let url='/hire/api/subAccount/addSubAccount'
        const result=post(url,parm)
        return result;
    },
    getChildAccountInfo(parm){
        let url='/hire/api/subAccount/getSubAccountById'
        const result=get(url,parm)
        return result;
    },
    editChildAccound(parm){
        let url='/hire/api/subAccount/updateSubUserWithAuth'
        const result=put(url,parm)
        return result;
    },
    deleteChildAccound(parm){
        let url='/hire/api/subAccount/deleteSubUser'
        const result=deleteChildCompany(url,parm)
        return result;
    },
    getLitterSume(parm){
        let url='/hire/api/person/getMinimalismResumeDetail'
        const result=post(url,parm)
        return result;
    },
    saveSume(parm){
        let url='/hire/api/person/addResume'
        const result=post(url,parm)
        return result;
    },
    getMainSume(parm){
        let url='/hire/api/person/getCompleteResumeDetail'
        const result=post(url,parm)
        return result;
    },
    getCountryTree(parm){
        let url='/hire/common/getPlaceTree'
        const result=get(url,parm)
        return result;
    },
    getSumeContent(parm){
        let url='/hire/api/person/getResumeDetail'
        const result=get(url,parm)
        return result;
    },
    refreshReme(parm){
        let url='/hire/api/person/resumeRefresh'
        const result=post(url,parm)
        return result;
    },
    updateResumeImg(parm){
        let url='/hire/api/person/updateResumeImg'
        const result=post(url,parm)
        return result;
    },
    getCountry(parm){
        let url='/hire/common/getCountry'
        const result=get(url,parm)
        return result;
    },
    updateUserInfo(parm){
        let url='/hire/api/person/updateResumeMainDto'
        const result=post(url,parm)
        return result;
    },
    sendResume(parm){
        let url='/hire/api/person/sendResume'
        const result=post(url,parm)
        return result;
    },
    getResumeChangeList(parm){
        let url='/hire/api/person/getResumeModifyTraces'
        const result=get(url,parm)
        return result;
    },
    getMyPostList(parm){
        let url='/hire/api/person/recommendList'
        const result=get(url,parm)
        return result;
    },
    getActionList(parm){
        let url='/hire/api/person/getResumeSalaryModifyLog'
        const result=get(url,parm)
        return result;
    },
    getCheckPostList(parm){
        let url='/hire/api/person/getPositionList'
        const result=post(url,parm)
        return result;
    },
    invitationPost(parm){
        let url='/hire/api/person/invitation'
        const result=post(url,parm)
        return result;
    },
    getHavePostList(parm){
          let url='/hire/api/person/contactingList'
        const result=get(url,parm)
        return result;
    },
    getInvitation(parm){
        let url='/hire/api/person/recommendInvitationList'
        const result=get(url,parm)
        return result;
    },
    getLogInfo(parm){
        let url='/hire/api/person/getResumeSalaryModifyLog'
        const result=get(url,parm)
        return result;
    }

   
}
export default homeapi;